package com.esiran.payadmin.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

@TableName("user_category")
public class UserCategory {

    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("name")
    private String name;
    @TableField("ownerId")
    private Long ownerId;
    @TableField("orders")
    private Long orders;
    @TableField("createTime")
    private java.util.Date createTime;
    @TableField("updateTime")
    private java.util.Date updateTime;


    public Long getId() {
      return id;
    }

    public void setId(Long id) {
      this.id = id;
    }


    public String getName() {
      return name;
    }

    public void setName(String name) {
      this.name = name;
    }


    public Long getOwnerId() {
      return ownerId;
    }

    public void setOwnerId(Long ownerId) {
      this.ownerId = ownerId;
    }

    public Long getOrders() {
        return orders;
    }

    public void setOrders(Long orders) {
        this.orders = orders;
    }

    public java.util.Date getCreateTime() {
      return createTime;
    }

    public void setCreateTime(java.util.Date createTime) {
      this.createTime = createTime;
    }


    public java.util.Date getUpdateTime() {
      return updateTime;
    }

    public void setUpdateTime(java.util.Date updateTime) {
      this.updateTime = updateTime;
    }

}
